Skip to content

Change button to "Scan Ports" #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Change button to "Scan Ports" #112

wants to merge 1 commit into from

Conversation

bparks13
Copy link
Member

@bparks13 bparks13 commented Jul 9, 2025

@bparks13 bparks13 added this to the 0.1.0 milestone Jul 9, 2025
@bparks13 bparks13 requested a review from jonnew July 9, 2025 17:48
@bparks13 bparks13 self-assigned this Jul 9, 2025
connectButton->setFont(fontOptionRegular);
connectButton->setBounds(headstageComboBoxB->getRight() - connectWidth, liboniVersionLabel->getY(), connectWidth, 18);
connectButton->setRadius(3.0f);
connectButton->setClickingTogglesState(true);
connectButton->setToggleState(false, dontSendNotification);
connectButton->setTooltip("Press to connect or disconnect from Onix hardware");
connectButton->setTooltip("Press to scan ports or disconnect from Onix hardware");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Press to scan ports or to power off currently connected headstages?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jonnew That could work, should I update the button at all? Currently it says "Scan Ports" or "Disconnect", should the second text read as "Power Off"? I'm pretty sure that this would require increasing the size of the button to make sure that the text is all visible.

@jonnew jonnew marked this pull request as draft July 10, 2025 19:28
@jonnew
Copy link
Contributor

jonnew commented Jul 10, 2025

We should discuss this more after addressing #112 . If we go the route proposed in that issue, then this might be a bad change to make.

@jonnew jonnew modified the milestones: 0.1.0, 0.1.1 Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename connect button to "Scan Ports"
2 participants